package com.loto.insurance.oem.web.utils;

import com.loto.insurance.oem.web.enumeration.CustStatusEnum;

public class JSTLFunction {
  public static String getCustStatusDesc(Integer statusId) {
	String statusDesc = "";
	for (CustStatusEnum status : CustStatusEnum.values()) {
	  if (status.getIndex() == statusId) {
		statusDesc = status.getName();
		break;
	  }
	}
	return statusDesc;
  }

  public static String getCustIsInner(Integer flg) {
	if (flg >= 1) {
	  return "是";
	} else
	  return "";
  }
}
